From: Jonathan Yavner Date: Sun, 30 Nov 2003 07:33:32 +0000 (+0000) Subject: testcover.el: Changes to 1value and noreturn X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24854 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9faed8e0ba6a7d27da7a90d715de2eb5a1b6fa57;p=emacs.git testcover.el: Changes to 1value and noreturn --- diff --git a/etc/NEWS b/etc/NEWS index f256bd507c1..db255e880a4 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2012,8 +2012,11 @@ such as `error'. The brown splotches are skipped for forms that are expected to always evaluate to the same value, such as (setq x 14). *** For difficult cases, you can add do-nothing macros to your code to help -out the test coverage tool. The macro 1value suppresses a brown splotch for -its argument. The macro noreturn suppresses a red splotch. +out the test coverage tool. The macro `noreturn' suppresses a red splotch. +It is an error if the argument to `noreturn' does return. The macro 1value +suppresses a brown splotch for its argument. This macro is a no-op except +during test-coverage -- then it signals an error if the argument actually +returns differing values. +++ ** New function unsafep returns nil if the given Lisp form can't possibly